﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Chinaer.Model.Entities
{
    [Table("Administrator")]
    public class Model_Administrator : Model_Base_Role
    {
        /// <summary>
        /// 管理员编号
        /// </summary>
        [Key]        
        [Required]
        [Column("ID")]
        [StringLength(50)]
        public string ID { get; set; }
        /// <summary>
        /// 登陆名
        /// </summary>
        [Column("LoginName")]
        [StringLength(50)]
        public string LoginName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        [StringLength(50)]
        public string LoginPassword { get; set; }
        /// <summary>
        /// 基础信息编号
        /// </summary>
        [StringLength(50)]
        public string BasePersonInfoID { get; set; }

    }
}
